﻿<UserControl x:Class="CI.UI.Prototypes.IndustryJob"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="100" d:DesignWidth="300" Width="225" Padding="0">
	<UserControl.Resources>
		<ResourceDictionary>
			<Thickness x:Key="BorderThickness">4</Thickness>
			
		</ResourceDictionary>
	</UserControl.Resources>
	<Border BorderBrush="{DynamicResource HoverShineBrush}" BorderThickness="{DynamicResource BorderThickness}">
		
    <Grid>
        <Grid.RowDefinitions>
        	<RowDefinition Height="5"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
		<Rectangle Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Grid.RowSpan="5" Margin="0">
			<Rectangle.Fill>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
					<GradientStop Color="Black" Offset="0"/>
					<GradientStop Color="#FF333333" Offset="1"/>
				</LinearGradientBrush>
			</Rectangle.Fill>
		</Rectangle>
        <TextBlock FontSize="14"  Text="{Binding Path=Output.Item.TypeName}" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2"/>
        <Label Grid.Row="1" Grid.Column="0">Runs</Label>
        <Label Grid.Row="2" Grid.Column="0">Output</Label>
        <Label Grid.Row="3" Grid.Column="0">Time</Label>
        <TextBox Grid.Row="1" Grid.Column="1" Margin="2" Width="75" HorizontalAlignment="Left" Text="{Binding Path=Runs}"/>
        <TextBox Grid.Row="2" Grid.Column="1" Margin="2" Width="110" HorizontalAlignment="Left" Text="{Binding Path=Output.Total}"/>
        <TextBlock Grid.Row="3" Margin="2" Grid.Column="1" Text="{Binding Path=Time.Total}"/>
    </Grid>
	</Border>
</UserControl>
